package com.shujia.flink.bean;

public class Transaction {
    private String id;
    private Double price;

    @Override
    public String toString() {
        return "Transaction{" +
                "id='" + id + '\'' +
                ", price=" + price +
                '}';
    }

    public Transaction() {
    }

    public Transaction(String id, Double price) {
        this.id = id;
        this.price = price;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }
}
